//圖形塊名稱翻譯
Blockly.JOYROBOT_SETUP = "JoyRobot初始化";
Blockly.JOYROBOT_SPEED = "速度";
Blockly.JOYROBOT_MOVE = "悍馬小車";
Blockly.JOYROBOT_MODE = "操控模式";
Blockly.JOYROBOT_SERVO = "設定舵機";
Blockly.JOYROBOT_SERVOPIN = "舵機引脚";
Blockly.JOYROBOT_SERVODEGREE = "校正角度";
Blockly.JOYROBOT_MOTORPIN = "設定電機引脚";
Blockly.JOYROBOT_LEFTNEGATIVEPIN = "左負極";
Blockly.JOYROBOT_LEFTPOSITIVEPIN = "左正極";
Blockly.JOYROBOT_RIGHTNEGATIVEPIN = "右負極";
Blockly.JOYROBOT_RIGHTPOSITIVEPIN = "右正極";
Blockly.JOYROBOT_TURN = "轉彎";
Blockly.JOYROBOT_TURNANGLE = "角度";
Blockly.JOYROBOT_SPEED = "速度";
Blockly.JOYROBOT_SPEEDUP = "加速";
Blockly.JOYROBOT_SPEEDDOWN = "减速";
Blockly.JOYROBOT_GETCURRENTSPEED = "獲取當前速度";
Blockly.JOYROBOT_IRRECEIVEPIN = "紅外接收模組初始化";
Blockly.JOYROBOT_IRKEYPRESSED = "紅外遙控器按鍵被按下"
Blockly.JOYROBOT_IRKEYPRESS = "紅外遙控器按鍵按下";
Blockly.JOYROBOT_ULTRASONICPIN = "設定RGB超聲波模塊引脚";
Blockly.JOYROBOT_SING = "超聲波引脚";
Blockly.JOYROBOT_RGB = "RGB引脚";
Blockly.JOYROBOT_SETRGB = "RGB燈";
Blockly.JOYROBOT_RGBCOLOUR = "顏色";
Blockly.JOYROBOT_READULTRASONICDISTANCE = "讀取超聲波距離";
Blockly.JOYROBOT_IRAVOIDANCEPIN = "設定紅外避障模塊引脚";
Blockly.JOYROBOT_PHOTOSENSITIVEPIN = "設定追光模塊引脚";
Blockly.JOYROBOT_GETPHOTOSENSITIVE = "光弱度值";
Blockly.JOYROBOT_LEFTPIN = "左引脚";
Blockly.JOYROBOT_RIGHTPIN = "右引脚";
Blockly.JOYROBOT_READIRAVOIDANCEDISTANCE = "讀取紅外避障距離";
Blockly.JOYROBOT_PS2PIN = "設定PS2模塊引脚";
Blockly.JOYROBOT_CLKPIN = "時鐘引脚";
Blockly.JOYROBOT_CMDPIN = "接收引脚";
Blockly.JOYROBOT_ATTPIN = "觸發引脚";
Blockly.JOYROBOT_DATPIN = "數據引脚";
Blockly.JOYROBOT_VARPS2VIBRATE = "定義PS2搖杆震動值";
Blockly.JOYROBOT_SETPS2VIBRATE = "設定PS2搖杆震動值";
Blockly.JOYROBOT_PS2KEYPRESSED = "PS2鍵被按下";
Blockly.JOYROBOT_WHICHPS2KEYPRESSED = "PS2按下";
Blockly.JOYROBOT_IRTRACKINGPIN = "設定紅外循迹模塊引脚";
Blockly.JOYROBOT_IRTRACKINGLEFTPIN = "左";
Blockly.JOYROBOT_IRTRACKINGMIDPIN = "中";
Blockly.JOYROBOT_IRTRACKINGRIGHTPIN = "右";
Blockly.JOYROBOT_READTRACKINGVALUE = "讀取紅外循迹狀態";
Blockly.JOYROBOT_SETBYTEOLD = "定義一個保存上一次循迹狀態的變數";
Blockly.JOYROBOT_RECENTTRACKINGVALUE = "當前循迹狀態";
Blockly.JOYROBOT_CLEANLASTTRACKINGVALUE = "清除上一次循迹狀態";
Blockly.JOYROBOT_RECENTTRACKINGVALUEISNOTWHITE = "當前循迹狀態不是全白";
Blockly.JOYROBOT_RESETLASTTRACKINGVALUE = "重置上一次循迹狀態";
Blockly.JOYROBOT_RECEIVEBLUETOOTHDATA = "接收藍牙數據";
Blockly.JOYROBOT_RECEIVEDBLUETOOTHDATA = "接收到了藍牙數據";
Blockly.JOYROBOT_BLUETOOTHKEYPRESSED = "藍牙操控鍵按下";

//參數翻譯
Blockly.JOYROBOT_DIRECTION_FORWARD = "前進";
Blockly.JOYROBOT_DIRECTION_BACK = "後退";
Blockly.JOYROBOT_DIRECTION_STOP = "停止";
Blockly.JOYROBOT_DIRECTION_TURNLEFT = "左轉";
Blockly.JOYROBOT_DIRECTION_TURNRIGHT = "右轉";
Blockly.JOYROBOT_CONTROLMODE_BLUETOOTH = "藍牙操控";
Blockly.JOYROBOT_CONTROLMODE_REMOTE = "紅外遙控";
Blockly.JOYROBOT_CONTROLMODE_IRTRACKING = "紅外循迹";
Blockly.JOYROBOT_CONTROLMODE_IRAVOIDANCE = "紅外避障";
Blockly.JOYROBOT_CONTROLMODE_LIGHTFIND = "追光模式";
Blockly.JOYROBOT_CONTROLMODE_ULTRASONICAVOIDANCE = "超聲波避障";
Blockly.JOYROBOT_CONTROLMODE_PS2 = "PS2操控";
Blockly.JOYROBOT_CONTROLMODE_NRF24L01 = "NRF24L01操控";
Blockly.JOYROBOT_CONTROLMODE_ULTRASONICIRAVOIDANCE = "超聲波紅外避障";
Blockly.JOYROBOT_CONTROLMODE_RGB = "RGB模式";
Blockly.JOYROBOT_ULTRASONICDIRECTION_FRONT = "前距離";
Blockly.JOYROBOT_ULTRASONICDIRECTION_LEFT = "左距離";
Blockly.JOYROBOT_ULTRASONICDIRECTION_RIGHT = "右距離";
Blockly.JOYROBOT_IRAVOIDANCEDIRECTION_LEFT = "左";
Blockly.JOYROBOT_IRAVOIDANCEDIRECTION_RIGHT = "右";
Blockly.JOYROBOT_PS2KEY_UP = "上";
Blockly.JOYROBOT_PS2KEY_DOWN = "下";
Blockly.JOYROBOT_PS2KEY_LEFT = "左";
Blockly.JOYROBOT_PS2KEY_RIGHT = "右";
Blockly.JOYROBOT_TRACKINGVALUE_BLACK = "全黑";
Blockly.JOYROBOT_TRACKINGVALUE_WHITE = "全白";
Blockly.JOYROBOT_TRACKINGVALUE_CENTER = "中心";
Blockly.JOYROBOT_TRACKINGVALUE_RIGHT1 = "右1";
Blockly.JOYROBOT_TRACKINGVALUE_RIGHT2 = "右2";
Blockly.JOYROBOT_TRACKINGVALUE_LEFT1 = "左1";
Blockly.JOYROBOT_TRACKINGVALUE_LEFT2 = "左2";
Blockly.JOYROBOT_BLUETOOTHKEY_UP = "上";
Blockly.JOYROBOT_BLUETOOTHKEY_DOWN = "下";
Blockly.JOYROBOT_BLUETOOTHKEY_LEFT = "左";
Blockly.JOYROBOT_BLUETOOTHKEY_RIGHT = "右";
Blockly.JOYROBOT_BLUETOOTHKEY_SPEEDUP = "加速";
Blockly.JOYROBOT_BLUETOOTHKEY_SPEEDDOWN = "减速";

Blockly.JOYROBOT_IRKEY_UP = "上";
Blockly.JOYROBOT_IRKEY_DOWN = "下";
Blockly.JOYROBOT_IRKEY_LEFT = "左";
Blockly.JOYROBOT_IRKEY_RIGHT = "右";

Blockly.JOYROBOT_PHOTOSENSITIVE_LEFT = "左";
Blockly.JOYROBOT_PHOTOSENSITIVE_RIGHT = "右";

Blockly.JOYROBOT_RGBNUMBER_ALL = "全部";
Blockly.JOYROBOT_RGBNUMBER_LEFT = "左邊";
Blockly.JOYROBOT_RGBNUMBER_RIGHT = "右邊";
Blockly.JOYROBOT_RGBCOLOR_RED = "紅色";
Blockly.JOYROBOT_RGBCOLOR_GREEN = "綠色";
Blockly.JOYROBOT_RGBCOLOR_BLUE = "藍色";
Blockly.JOYROBOT_RGBCOLOR_YELLOW = "黃色";
Blockly.JOYROBOT_RGBCOLOR_PURPLE = "紫色";
Blockly.JOYROBOT_RGBCOLOR_ORANGE = "橙色";
Blockly.JOYROBOT_RGBCOLOR_INDIGO = "靛藍";
Blockly.JOYROBOT_RGBCOLOR_VIOLET = "紫羅蘭";
Blockly.JOYROBOT_SETRGBSTYLE = "樣式";
Blockly.JOYROBOT_RGBSTYLE_NONE = "無";
Blockly.JOYROBOT_RGBSTYLE_BREATHE = "呼吸";
Blockly.JOYROBOT_RGBSTYLE_ROTATE = "旋轉";
Blockly.JOYROBOT_RGBSTYLE_FLASH = "閃爍";
Blockly.JOYROBOT_RGBCOLOR_WHITE = "白色";
Blockly.JOYROBOT_RGBCOLOR_OFF = "熄滅";

Blockly.JOYROBOT_FIRE="火焰感測器初始化";
Blockly.JOYROBOT_FIRELEFT="左引脚";
Blockly.JOYROBOT_FIRERIGHT="右引脚";
Blockly.JOYROBOT_SOUND="聲音感測器初始化引脚";
Blockly.JOYROBOT_FUN="風扇初始化引脚";
Blockly.JOYROBOT_FIREFUNLEFT="左";
Blockly.JOYROBOT_FIREFUNRIGHT="右";
Blockly.JOYROBOT_HAVEFIRE="有火源";
Blockly.JOYROBOT_HAVENOFIRE="無火源";
Blockly.JOYROBOT_OPENFUN="風扇";
Blockly.JOYROBOT_OPENFUNS="開";
Blockly.JOYROBOT_CLOSEFUNS="關";

